package com.primb.bench.project.home.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Chen on 2017/5/9.
 * 功能描述：贷款测算信息实体类
 */

public class TaxInfoEntity implements Parcelable {
    /**
     * 税收信息
     */
    String taxVat;//增值说
    String taxIncome;//所得税

    public String getTaxVat() {
        return taxVat;
    }

    public void setTaxVat(String taxVat) {
        this.taxVat = taxVat;
    }

    public String getTaxIncome() {
        return taxIncome;
    }

    public void setTaxIncome(String taxIncome) {
        this.taxIncome = taxIncome;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.taxVat);
        dest.writeString(this.taxIncome);
    }

    public TaxInfoEntity() {
    }

    protected TaxInfoEntity(Parcel in) {
        this.taxVat = in.readString();
        this.taxIncome = in.readString();
    }

    public static final Creator<TaxInfoEntity> CREATOR = new Creator<TaxInfoEntity>() {
        @Override
        public TaxInfoEntity createFromParcel(Parcel source) {
            return new TaxInfoEntity(source);
        }

        @Override
        public TaxInfoEntity[] newArray(int size) {
            return new TaxInfoEntity[size];
        }
    };
}
